package com.hsmw.api.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class ItemDetailVO {


    @ApiModelProperty(value = "项目Id")
    private String itemId;

    @ApiModelProperty(value = "施工单位名字")
    private String constructionUnitName;

    @ApiModelProperty(value = "项目名称")
    private String itemName;

    @ApiModelProperty(value = "工长数量")
    private long forcemanCount;

    @ApiModelProperty("累计方量")
    private String volumeSum;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "创建人Id")
    private String createUser;

    @ApiModelProperty(value = "创建人名称")
    private String createName;

    @ApiModelProperty(value = "创建人手机号")
    private String createUsername;

    @ApiModelProperty(value = "创建人类型")
    private String userType;

    @ApiModelProperty(value = "创建人权限类型")
    private String roleType;


    @ApiModelProperty(value = "订单数量")
    @TableField(exist = false)
    private long orderCount;


    @ApiModelProperty(value = "项目位置名称")
    private String position;

    @ApiModelProperty(value = "项目位置详情")
    private String positionDetail;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;



    @ApiModelProperty(value = "合作公司数量")
    private long corperateCount;


    @ApiModelProperty(value = " 角色类型 0 是工长 1。 负责人。")
    @TableField(exist = false)
    private String itemRoleType;



}
